﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Model;

namespace User.Model
{
    public class Permission : IntKey
    {
        public virtual int RoleId { get; set; }

        public virtual int ActionId { get; set; }

        public virtual int ResourceId { get; set; }

        public virtual bool? Inherit { get; set; }

        public virtual Role Role { get; set; }

        public virtual Action Action { get; set; }

        public virtual Resource Resource { get; set; }
    }
}
